package com.yiyuzi.admin.token.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yiyuzi.admin.common.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yiyuzi
 * @date 2021/5/14 17:10
 */

@Data
@TableName("t_token")
public class TokenEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -8794328598524272806L;

    /**
     * 登录令牌
     */
    private String token;

    /**
     * 用户id
     */
    private Long userId;
}
